@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 30px 30px;
}

.app-content {
  border: 20px solid rgb(240, 241, 243);
  border-top: none;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

//界面top背景图（小黄写的）
.top {
  background-image: url("../../assets/images/form_background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
s
//景点卡片格式（小黄写的）
.card-box {
  width: 320px;
}
.card-front {
  position: relative;
  font-weight: bold;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 7px;
  border-radius: 12px;
  cursor: pointer;
  &:hover {
    box-shadow: 0 19px 39px 0 rgba(0,0,0,.2);
  }
  &.img {
    position: relative;
    border-radius: 15px;
    overflow:hidden;
  }
  .card-button-edit {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    color: #FFFFFF;
    font-weight: bold;
    font-size: 13px;
    padding: 5px 10px; /* 调整此值以更改标签的大小 */
    background-color: rgba( 125, 198, 125, 0.8);
    border-radius: 20px; /* 调整此值以更改圆角的弯曲程度 */
  }
  .card-button-delete {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    color: #FFFFFF;
    font-weight: bold;
    font-size: 13px;
    padding: 5px 10px; /* 调整此值以更改标签的大小 */
    background-color: rgba( 237, 108, 106, 0.8);
    border-radius: 20px; /* 调整此值以更改圆角的弯曲程度 */
  }
  .card-button-flip {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    color: #FFFFFF;
    font-weight: bold;
    font-size: 13px;
    padding: 5px 10px; /* 调整此值以更改标签的大小 */
    background-color: rgba( 65, 150, 255, 0.8);
    border-radius: 20px; /* 调整此值以更改圆角的弯曲程度 */
  }
}
.card-back {
  position: relative;
  font-weight: bold;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 7px;
  height: 210px;
  border-radius: 12px;
  cursor: pointer;

  &:hover {
    box-shadow: 0 19px 39px 0 rgba(0, 0, 0, .2);
  }

  &.img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
  }

  .card-button-flip {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    color: #FFFFFF;
    font-weight: bold;
    font-size: 13px;
    padding: 5px 10px; /* 调整此值以更改标签的大小 */
    background-color: rgba( 65, 150, 255, 0.8);
    border-radius: 20px; /* 调整此值以更改圆角的弯曲程度 */
    display: block;
    text-align: right;
  }

  .card-title {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    color: #FFFFFF;
    margin: 10px 5px 5px;
    font-size: 20px;
    line-height: 20px;
    height: 20px;
    font-weight: bold;
    overflow: hidden;
    word-wrap: break-word;
  }
}
.card-back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.card-front::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.card-title {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  color: #FFFFFF;
  margin: 10px 5px 5px;
  font-size: 20px;
  line-height: 22px;
  height: 30px;
  font-weight: bold;
  overflow: hidden;
  word-wrap: break-word;
}
.card-middle {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  text-align: right;
  font-weight: bold;
  margin-top: 8px;
  .card-middle1 {
    color: #FFFFFF;
    font-size: 22px;
    display: inline-block;
    .card-symbol {
      margin-right: 3px;
      width: 20px;
      height: 20px;
    }
    .card-count {
      margin-right: 15px;
    }
  }
  .card-middle2 {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    color: #FFFFFF;
    font-size: 22px;
    font-weight: bold;
    display: inline-block;
    .card-symbol {
      margin-right: 3px;
      width: 20px;
      height: 20px;
      font-size: 18px;
    }
  }
}
.card-name {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  color: #FFFFFF;
  font-size: 20px;
  .card-type {
    font-size: 18px;
    color: #FFFFFF;
    float: right;
  }
}
.card-bottom {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  height: 33px;
  font-size: 14px;
  color: #999;
  margin-top: 5px;
  text-align: right;
  .card-symbol {
    width: 20px;
    height: 20px;
  }
}
.card-symbol {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  height: 33px;
  font-size: 14px;
  color: #ffffff;
  margin-top: 5px;
  text-align: right;
  width: 20px;
  height: 20px;
}
.card-label {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  font-size: 15px;
  color: #000000;
  background-color: rgba( 255, 188, 0, 0.8);
  border-radius: 20px; /* 调整此值以更改圆角的弯曲程度 */
  padding: 5px 10px; /* 调整此值以更改标签的大小 */
  display: inline-block;
  margin-left: 5px;
  float: right;
  .card-text {
    color: #FFFFFF;
    font-size: 13px;
  }
}
.card-name {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  color: #FFFFFF;
  font-size: 20px;
  .card-state {
    font-size: 15px;
    color: #FFFFFF;
    background-color: rgba( 125, 198, 125, 0.8);
    border-radius: 20px; /* 调整此值以更改圆角的弯曲程度 */
    padding: 5px 10px; /* 调整此值以更改标签的大小 */
    display: inline-block;
    margin-left: 5px;
    float: right;
  }
  .card-title {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    color: #FFFFFF;
    margin: 10px 5px 5px;
    font-size: 18px;
    line-height: 20px;
    height: 20px;
    font-weight: bold;
    overflow: hidden;
    word-wrap: break-word;
  }
}
.card-thing {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  color: #FFFFFF;
  font-size: 20px;
  .card-state {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    font-size: 13px;
    color: #FFFFFF;
    background-color: rgba( 125, 198, 125, 0.8);
    border-radius: 20px; /* 调整此值以更改圆角的弯曲程度 */
    padding: 5px 5px; /* 调整此值以更改标签的大小 */
    display: inline-block;
    margin-left: 5px;
  }
  .card-title {
    position: relative; /* 设置为相对定位 */
    z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
    color: #FFFFFF;
    margin: 10px 5px 5px;
    font-size: 16px;
    line-height: 18px;
    height: 18px;
    font-weight: bold;
    overflow: hidden;
    word-wrap: break-word;
  }
}
.card-info {
  position: relative; /* 设置为相对定位 */
  z-index: 2; /* 设置较大的z-index，使其位于蒙版之上 */
  color: #FFFFFF;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  text-indent: 2em;
}
//界面搜索框文字颜色调整
.el-form-item label {
  color: #1a1515
}

//界面搜索框距离表格的间隔
.el-form-item {
  margin-top: 15px;
  margin-left: 25px;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
